Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Material に対する match を error にする Scalafix rule を追加 #2227

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

loliGothicK
Copy link

close #2226


org.bukkit.Meterial をマッチ式で検査している場合エラーにする scalafix rules を追加

#2226 にある通り、これを書くだけでコンパイル時間が増大するため、気づかないことがないように。

補足情報:

scalafix --rules="file:src/scalafix/scala/fix/MatchForMaterialToErrorForPerformance.scala" で実行できる。

Copy link
Member

@KisaragiEffective KisaragiEffective left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

Copy link
Member

@KisaragiEffective KisaragiEffective left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@KisaragiEffective
Copy link
Member

1_18ブランチはlinear historyであるべきなのかわからんから放置。多分squashでいいと思うんだけど…

@kory33 kory33 merged commit 9684033 into 1_18 Sep 18, 2023
@kory33 kory33 deleted the feature/scalafix-for-match-for-material branch September 18, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants